import request from '@utils/request'

const listItems  = (parasm={})=> request.get('/getArtList',{
  parasm
})
const addArt  = (parasm={})=> request.post('/addArt',parasm
)
const getArt  = (parasm={})=> request.get('/getArt',{
  parasm
})

const delArt = (id) => request.get('/delArt',{
  params: {
    id
  }
})
const isLoading = (parasm={})=>request.post('/loading',parasm)


export {
  listItems,
  addArt,
  getArt,
  delArt,
  isLoading
}